<template>
    <h3 class="recentArticles" :style="{'color':color}">
        <slot></slot>
        <img :src="background" alt="" style="width: 25px">
    </h3>
</template>

<script>
export default {
    name: "UserArticleTitle",
    props:['background','color'],
}
</script>

<style scoped>
.recentArticles{
    font-weight: bolder;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #3586f1;
    padding: 5px;
}
</style>